"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isArray = void 0;

/**
 * 判断是否是数组
 * @param obj 目标对象
 * @returns boolean
 * ```js
 * const a = {};
 * isArray(a) // false
 * ```
 */
var isArray = function isArray(obj) {
  return Object.prototype.toString.call(obj) === '[object Array]';
};

exports.isArray = isArray;